package com.zhuyi;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.FilterType;

/**
 * 启动程序
 * 
 * @author zhuyi
 */

@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
//待解决问题，暂时排除com.chuyi.queue路径
@ComponentScan(excludeFilters = {
        @ComponentScan.Filter(type = FilterType.REGEX, pattern = "com\\.zhuyi\\.queue\\..*")
})

public class zhuyiApplication
{
    public static void main(String[] args)
    {
        SpringApplication.run(zhuyiApplication.class, args);
        System.out.println("-----启动成功-----");
    }
}
